#include "EnumValueNode.h"
#include "Output/Console.h"
#include "ScriptCompiler/Token/Token.h"
#include "ScriptCompiler/AST/ExpressionNode.h"

void CEnumValueNode::DebugPrint(int32_t InDepth)
{
    //print blank spaces for depth
    for(int32_t i=0;i<InDepth;i++)
    {
        WH::Print(U"\t");
    }

    //print enum value name
    WH::Print(Name->ToString());


    //print enum value
    if(Value)
    {
        //print =
        WH::Print(U" = ");
        
        Value->DebugPrint(0);
    }
}